package pers.cj.pdos.service;

import org.apache.ibatis.annotations.Param;
import pers.cj.pdos.entity.RetailSet;
import com.baomidou.mybatisplus.extension.service.IService;
import pers.cj.pdos.vo.RetailGoodsVo;
import pers.cj.pdos.vo.RetailSetVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
public interface IRetailSetService extends IService<RetailSet> {

    RetailSetVo getVoByStore(String storeId);
    boolean checkStore(String companyId, String storeId);

    List<RetailSetVo> listVo(Integer page, Integer limit, String companyId);
    long count(String companyId);



    List<RetailGoodsVo> listRetailGoodsVo(Integer page, Integer limit,String companyId, String houseId, String search);

    Long countRetailGoods(String companyId, String houseId,String search);

    void update(RetailSet retailSet);

    void remove(RetailSet retailSet);
}
